<template>
    <van-button type="primary" @click="goLogin">登录</van-button>
</template>
<script lang="ts" setup="props">
  import { useRouter } from "vue-router";

  const router = useRouter();
  const goLogin = () => {
    router.push("/login");
  };
</script>
